package cn.edu.sdjzu.service;

import cn.edu.sdjzu.entity.authority.Permission;

import java.sql.SQLException;
import java.util.Collection;

public interface ResourceService {
    Collection<Permission> findAll(Integer roleId) throws SQLException;

    Permission find(Integer id) throws SQLException;
}
